import style from './style/sidebar.scss';

import store from 'backbone/store/configureStore';

export default class Header extends React.Component{
	constructor(){
		super();
	}
	toggle(){
		store.dispatch({
			type:'TOGGLESIDEBAR'
		})
	}
	render(){
		return (
			<div className={cn({
				[style["header-btns"]]:true
			})}>
				<a onClick={::this.toggle} href="javascript:"><i className="fa fa-angle-right"></i></a>
			</div>
		)
	}
}